import request from '@/utils/request'

export function getMemberPrice(id) {
  return request({
    url: `/coupon/memberprice/info/${id}`,
    method: 'post'
  })
}

export function savemeMberPrice(data) {
  return request({
    url: '/coupon/memberprice/info/save',
    method: 'post',
    data
  })
}

export function updateMemberPrice(data) {
  return request({
    url: '/coupon/memberprice/info/update',
    method: 'post',
    data
  })
}

export function memberPriceList(params) {
  return request({
    url: '/coupon/memberprice/list',
    method: 'post',
    params
  })
}

export function deleteMemberPrice(ids) {
  return request({
    url: '/coupon/memberprice/delete',
    method: 'post',
    data: ids
  })
}
